package com.wn.class30.service;

import com.wn.class30.entity.Comment;
import com.wn.class30.entity.CommentImg;

import java.util.List;
import java.util.Map;

public interface CommentService {
    List<Comment> selectCommponents(Map<String,String> map)throws Exception;

    Long selectCommponentCount(Map<String,String> map)throws Exception;

    List<CommentImg> selectCommentImgsById(Integer commentId)throws Exception;

    void updateCommentAnswerById(Comment comment)throws Exception;

    Comment selectCommentById(Integer id)throws Exception;

    void deleteCommentById(Integer id)throws Exception;

    void deleteCommentImgByCommentId(Integer commentId)throws Exception;
}
